/* 主要容器样式 */
.chatContainer {
    max-width: 100%;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ededed;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", STHeiti, "Microsoft Yahei", Tahoma, Simsun, sans-serif;
    position: relative;
}

.chatCute {
  background: linear-gradient(135deg, #fffbe6 0%, #ffe0ec 100%);
  transition: background 0.4s;
}
.chatCool {
  background: linear-gradient(135deg, #1a237e 0%, #21234a 100%);
  transition: background 0.4s;
}

/* 顶部标题栏 */
.chatHeader {
    background: #2e2e2e;
    color: white;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.headerTitleRow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.headerTitleRow h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    flex: 1;
}

.moreBtn {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    padding: 8px;
    color: #fff;
    cursor: pointer;
}

/* 消息区域 */
.messagesContainer {
    flex: 1;
    overflow-y: auto;
    padding: 10px 15px;
    background: #e6e6e6;
    background-image: url('');
    background-repeat: repeat;
    background-attachment: fixed;
}

/* 消息气泡样式 */
.message {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.messageRow {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4px;
    gap: 8px;
}

.avatar {
    width: 54px;
    height: 54px;
    border-radius: 6px;
    object-fit: cover;
    background: #f0f0f0;
   
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.avatar:hover {
    transform: scale(1.05);
}

.bubbleWrap {
    display: flex;
    flex-direction: column;
    max-width: 75%;
    min-width: 80px;
}

.ownMessage {
    align-items: flex-end;
}

.ownMessage .bubbleWrap {
    align-items: flex-end;
}

.bubbleBox {
    display: flex;
    align-items: flex-end;
}

.bubbleArrowLeft {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid transparent; /* 隐藏左侧三角 */
    margin-right: -1px;
    filter: drop-shadow(1px 0 1px rgba(0, 0, 0, 0.1));
}

.bubbleArrowRight {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid transparent; /* 隐藏右侧三角 */
    margin-left: -1px;
    filter: drop-shadow(-1px 0 1px rgba(0, 0, 0, 0.1));
}

.messageContent {
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    max-width: 100%;
    min-width: 60px;
    background: #7be86c !important;
}

.messageCute {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px #ffe0ec;
  border: 1.5px solid #ffe0ec;
  transition: background 0.3s, box-shadow 0.3s;
}
.ownMessage.messageCute {
  background: #e1f3d8;
  border: 1.5px solid #b2f2d8;
}
.otherMessage.messageCute {
  background: #fff;
}
.messageCool {
  background: linear-gradient(120deg, #232a4d 60%, #00e5ff22 100%);
  border-radius: 18px;
  box-shadow: 0 2px 16px #00e5ff44;
  border: 1.5px solid #00e5ff44;
  color: #fff;
  transition: background 0.3s, box-shadow 0.3s;
}
.ownMessage.messageCool {
  background: linear-gradient(120deg, #232a4d 60%, #fff17644 100%);
  border: 1.5px solid #fff17699;
  color: #fffde4;
}
.otherMessage.messageCool {
  background: linear-gradient(120deg, #232a4d 60%, #00e5ff22 100%);
  color: #fff;
}

/* 添加悬停效果 */
.ownMessage .messageContent:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.4);
}

.otherMessage .messageContent:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* 消息文本样式优化 */
.messageText {
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.2px;
    color: #222 !important;
}

.ownMessage .messageText {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.otherMessage .messageText {
    color: #333;
}

.messageTime {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    text-align: right;
}

.otherMessage .messageTime {
    text-align: left;
}

/* 输入栏样式 */
.inputBarWx {
    display: flex;
    align-items: center;
    background: #f7f7f7;
    padding: 8px 10px;
    border-top: 1px solid #d9d9d9;
    position: relative;
    z-index: 10;
}

.wxIconBtn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #7d7d7d;
    cursor: pointer;
    outline: none;
}

.wxInput {
    flex: 1;
    height: 36px;
    border: none;
    border-radius: 4px;
    background: #fff;
    margin: 0 8px;
    padding: 0 12px;
    font-size: 16px;
    outline: none;
    box-shadow: none;
}

.wxVoiceBtn {
    flex: 1;
    height: 36px;
    background: #f1f1f1;
    border: none;
    border-radius: 4px;
    color: #333;
    font-size: 16px;
    text-align: center;
    margin: 0 8px;
    outline: none;
    cursor: pointer;
}

.inputBarCute {
  background: #fffbe6;
  border-top: 1.5px solid #ffe0ec;
  box-shadow: 0 -2px 8px #ffe0ec44;
  transition: background 0.3s;
}
.inputBarCool {
  background: #232a4d;
  border-top: 1.5px solid #00e5ff44;
  box-shadow: 0 -2px 12px #00e5ff33;
  transition: background 0.3s;
}
.inputBarCool input,
.inputBarCool textarea {
  background: #232a4d;
  color: #fff;
  border: 1.5px solid #00e5ff44;
}
.inputBarCute input,
.inputBarCute textarea {
  background: #fff;
  color: #222;
  border: 1.5px solid #ffe0ec;
}
.inputBarCool button {
  background: linear-gradient(120deg, #00e5ff 0%, #b388ff 100%);
  color: #fff;
  border: none;
}
.inputBarCute button {
  background: #fffbe6;
  color: #ff6fa1;
  border: none;
}
.inputBarCool .sendBtn {
  background: linear-gradient(120deg, #fff176 0%, #00e5ff 100%);
  color: #232a4d;
}
.inputBarCute .sendBtn {
  background: #ff6fa1;
  color: #fff;
}

/* 更多功能面板 */
.plusPanelMask {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.plusPanel {
    width: 100%;
    background: #f0f0f0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 16px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: panelUp 0.2s ease-out;
}

@keyframes panelUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.plusPanelRow {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 16px;
}

.plusPanelItem {
    width: 72px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.plusPanelIcon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.plusPanelText {
    font-size: 12px;
    color: #666;
}

.plusPanelDots {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.dot, .dotActive {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 3px;
}

.dotActive {
    background: #888;
}

/* 调试信息区域 */
.debugInfo {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 10px 15px;
    font-size: 12px;
}

.debugInfo details {
    cursor: pointer;
}

.debugInfo summary {
    color: #666;
    font-weight: 500;
    padding: 5px 0;
}

.debugInfo div {
    background: #f9f9f9;
    padding: 8px;
    border-radius: 4px;
    margin-top: 5px;
    border: 1px solid #eee;
}

.debugInfo p {
    margin: 3px 0;
    font-family: monospace;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .chatContainer {
        height: 100vh;
    }
    
    .messagesContainer {
        padding: 8px 12px;
    }
    
    .avatar {
        width: 38px;
        height: 38px;
    }
    
    .messageContent {
        font-size: 15px;
        padding: 10px 14px;
        border-radius: 16px;
    }
    
    .bubbleWrap {
        max-width: 80%;
    }
    
    .inputBarWx {
        padding: 6px 8px;
    }
    
    .wxIconBtn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .wxInput {
        height: 32px;
        font-size: 15px;
    }
    
    .wxVoiceBtn {
        height: 32px;
        font-size: 15px;
    }
    
    .plusPanelItem {
        width: 64px;
        height: 80px;
    }
    
    .plusPanelIcon {
        width: 40px;
        height: 40px;
    }
}

.sendBtn {
    width: 56px;
    height: 36px;
    border: none;
    border-radius: 4px;
    background: #06c05f;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-left: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, box-shadow 0.18s;
    box-shadow: 0 1px 2px rgba(6,192,95,0.08);
}
.sendBtn:active {
    background: #04a24c;
}
.sendBtn:disabled {
    background: #b7ebc7;
    color: #fff;
    cursor: not-allowed;
}
.sendBtnText {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

.recordMask {
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.recordModal {
    background: #7be86c !important;
    border-radius: 16px;
    padding: 36px 38px 24px 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.recordMicWrap {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    width: auto;
    height: 64px;
    margin-bottom: 12px;
    position: relative;
}
.recordMic {
    z-index: 2;
    width: 32px;
    height: 32px;
    
    margin-bottom: 10px;
}
.recordRipple, .recordRipple2 {
    position: absolute;
    left: 0; top: 0;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(6,192,95,0.18);
    z-index: 1;
    animation: ripple 1.2s infinite linear;
}
.recordRipple2 {
    animation-delay: 0.6s;
}
@keyframes ripple {
    0% { transform: scale(0.8); opacity: 0.7; }
    70% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(1.4); opacity: 0; }
}
.recordText {
    color: #fff;
    font-size: 15px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.recordTime {
    color: #06c05f;
    font-size: 13px;
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .recordModal {
        padding: 24px 10px 16px 10px;
        min-width: 120px;
    }
    .recordMicWrap {
        height: 48px;
    }
    .recordMic {
        width: 24px;
        height: 24px;
        margin-bottom: 6px;
    }
    .recordRipple, .recordRipple2 {
        width: 48px; height: 48px;
    }
    .recordText {
        font-size: 13px;
    }
    .recordTime {
        font-size: 12px;
    }
    .recordVolumeBar {
        width: 24px;
        height: 36px;
        margin-right: 6px;
    }
}

.voiceBubble {
    min-width: 90px;
    max-width: 220px;
    height: 40px;
    background: #7be86c !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 18px 0 18px;
    font-size: 18px;
    color: #111;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    user-select: none;
    transition: background 0.18s;
}
.ownMessage .voiceBubble {
    background: #7be86c;
    justify-content: flex-end;
}
.otherMessage .voiceBubble {
    background: #fff;
    justify-content: flex-start;
    color: #111;
}
.voiceDuration {
    margin-right: 10px;
    font-size: 18px;
    font-weight: 500;
}
.ownMessage .voiceDuration {
    margin-left: 10px;
    margin-right: 0;
}
.voiceIcon {
    display: flex;
    align-items: center;
    font-size: 20px;
}
.voiceUnreadDot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff3b30;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.recordVolumeBar {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 52px;
    width: 36px;
    margin-right: 10px;
    margin-left: 0;
    position: relative;
}
.recordVolumeCol {
    width: 4px;
    margin: 0 1.5px;
    border-radius: 2px;
    background: #06c05f;
    transition: height 0.18s, opacity 0.18s;
}
.recordMic {
    z-index: 2;
    width: 32px;
    height: 32px;
}

.voicePlayingBar {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    vertical-align: middle;
    background: url('data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="6" width="2" height="6" rx="1" fill="%2306c05f"><animate attributeName="height" values="6;14;6" dur="0.7s" repeatCount="indefinite"/></rect><rect x="8" y="3" width="2" height="12" rx="1" fill="%2306c05f"><animate attributeName="height" values="12;6;12" dur="0.7s" repeatCount="indefinite"/></rect><rect x="14" y="7" width="2" height="4" rx="1" fill="%2306c05f"><animate attributeName="height" values="4;12;4" dur="0.7s" repeatCount="indefinite"/></rect></svg>') center/contain no-repeat;
}

.album-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #000;
  transition: border 0.2s, box-shadow 0.2s;
  background: #fff;
}

.album-image.selected {
  border: 2px solid #07c160;
}

.album-image .selected-mask {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.album-image .selected-index {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  background: #07c160;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  z-index: 2;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px;
  background: #fff;
}
.album-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.album-footer {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 24px 0;
  background: #fff;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

.album-btn {
  flex: 1;
  margin: 0 12px;
  padding: 14px 0;
  border-radius: 24px;
  font-size: 18px;
  font-weight: 500;
  border: none;
  outline: none;
  transition: background 0.2s;
}

.album-btn.cancel {
  background: #ededed;
  color: #888;
}

.album-btn.send {
  background: #07c160;
  color: #fff;
}

.album-btn:active {
  opacity: 0.8;
}

.album-image:active {
  transform: scale(0.97);
}

.album-btn {
  box-shadow: 0 2px 8px rgba(7,193,96,0.08);
}

/* 让body和根容器占满全屏 */
html, body, #root {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  background: #fff;
}
.fullpage-album {
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.album-grid {
  flex: 1;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(auto-fill, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
}
.album-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #eee;
  position: relative;
  border-radius: 0; /* 没有圆角更贴近微信 */
}
.album-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 2px solid #000 !important;
}

.album-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 16px 0 24px 0;
  background: rgba(255,255,255,0.95);
  z-index: 10;
}

body {
  overflow: hidden;
}
.album-grid {
  overflow-y: auto;
}

.callBtn {
  background: #07c160;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(7,193,96,0.08);
}
.actionSheetMask {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { background: rgba(0,0,0,0); } to { background: rgba(0,0,0,0.3); } }
.actionSheet {
  width: 100vw;
  max-width: 480px;
  background: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding-bottom: 8px;
  animation: slideUp 0.25s;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.actionSheetItem {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  font-size: 18px;
  color: #222;
  border-bottom: 1px solid #eee;
  background: #fff;
  outline: none;
  transition: background 0.15s;
  cursor: pointer;
}
.actionSheetItem:active,
.actionSheetItem:focus {
  background: #f2f2f2;
}
.actionSheetItem:last-of-type {
  border-bottom: none;
}
.actionSheetCancel {
  margin-top: 8px;
  background: #fff;
  border-radius: 12px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #222;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.15s;
  cursor: pointer;
}
.actionSheetCancel:active,
.actionSheetCancel:focus {
  background: #f2f2f2;
}
.iconVideo::before {
  content: '\1F4F9'; /* 📹 emoji */
  font-size: 22px;
  margin-right: 12px;
  display: inline-block;
  vertical-align: middle;
}
.iconPhone::before {
  content: '\260E'; /* ☎ emoji */
  font-size: 22px;
  margin-right: 12px;
  display: inline-block;
  vertical-align: middle;
}

.firemanSvg {
  animation: fireman-bounce 1.2s infinite alternate cubic-bezier(.5,0,.5,1);
}
@keyframes fireman-bounce {
  0% { transform: translateY(0);}
  100% { transform: translateY(-8px);}
}
.firemanEyeBall {
  transform-origin: center;
  animation: fireman-blink 2.5s infinite;
}
@keyframes fireman-blink {
  0%, 90%, 100% { transform: scaleY(1); }
  92%, 98% { transform: scaleY(0.2); }
}
.left {}
.right {}

.firemanFloat {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1001;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.firemanFloatTopRight {
  position: absolute;
  top:60px;
  right:4px;
  z-index: 1001;
 
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 小火人选择弹窗全屏遮罩 */
.firemanPickerMask {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 小火人选择内容全屏居中 */
.firemanPicker {
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.firemanList {
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.firemanItem {
  transition: transform 0.15s;
  padding: 16px 8px;
  border-radius: 12px;
}
.firemanItem:hover {
  transform: scale(1.1);
  background: #f6f6f6;
}

.firemanPickerMaskCute {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(255, 236, 250, 0.55);
  backdrop-filter: blur(8px);
  z-index: 4000;
  display: flex; align-items: center; justify-content: center;
  animation: fadeInCute 0.2s;
}
@keyframes fadeInCute { from { opacity: 0; } to { opacity: 1; } }
.firemanPickerCute {
  background: linear-gradient(135deg, #fff1f7 0%, #ffe0ec 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px #ffb3d6;
  padding: 36px 38px 30px 38px;
  min-width: 340px;
  max-width: 92vw;
  animation: popInCute 0.25s;
  position: relative;
  border: 3px solid #ffd6e7;
}
@keyframes popInCute { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.firemanPickerHeaderCute {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 22px; font-weight: 700; margin-bottom: 18px;
  color: #ff6fa1;
}
.firemanPickerTitleCute {
  font-size: 22px; font-weight: 700; letter-spacing: 1px;
  color: #ff6fa1;
  text-shadow: 0 2px 8px #fff3;
}
.firemanPickerCloseCute {
  background: none; border: none; font-size: 32px; cursor: pointer; color: #ff6fa1;
  transition: color 0.2s, transform 0.2s;
  border-radius: 50%; width: 38px; height: 38px; line-height: 38px;
  display: flex; align-items: center; justify-content: center;
}
.firemanPickerCloseCute:hover { color: #ff3b30; background: #fff0; transform: scale(1.15) rotate(10deg); }
.firemanListCute {
  display: flex; gap: 36px; justify-content: center;
}
.firemanItemCute {
  text-align: center; cursor: pointer; transition: transform 0.18s, box-shadow 0.18s, border 0.18s;
  border-radius: 16px; padding: 16px 12px 12px 12px; position: relative;
  background: #fff8fc;
  box-shadow: 0 2px 10px #ffd6e7;
  border: 2.5px solid #fff8fc;
  outline: none;
}
.firemanItemCute:focus {
  border: 2.5px solid #ffb3d6;
}
.firemanItemCute:hover {
  transform: scale(1.10) rotate(-2deg);
  box-shadow: 0 6px 24px #ffb3d6, 0 0 0 6px #ffe0ec;
  border: 2.5px solid #ffb3d6;
}
.firemanItemSelectedCute {
  border: 3.5px solid #ff6fa1;
  box-shadow: 0 0 0 6px #ffe0ec, 0 8px 32px #ffb3d6;
  animation: bounceCute 0.4s;
}
@keyframes bounceCute {
  0% { transform: scale(1.05); }
  30% { transform: scale(1.18) rotate(-3deg); }
  60% { transform: scale(0.95) rotate(2deg); }
  100% { transform: scale(1) rotate(0); }
}
.firemanAvatarWrapCute {
  position: relative; display: flex; justify-content: center; align-items: center;
  margin-bottom: 6px;
}
.firemanCheckMarkCute {
  position: absolute; right: -10px; top: -10px; background: #ff6fa1; color: #fff;
  border-radius: 50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: bold; box-shadow: 0 2px 8px #ffb3d6;
  border: 2px solid #fff;
}
.firemanNameCute {
  font-size: 18px; font-weight: 600; margin-top: 4px; color: #ff6fa1;
  letter-spacing: 1px;
}
.firemanDescCute {
  font-size: 14px; color: #ffb3d6; margin-top: 2px; font-style: italic;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px #fff6;
}

.firemanPickerMaskCool {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 60% 40%, #1a237e 60%, #000 100%);
  z-index: 4000;
  display: flex; align-items: center; justify-content: center;
  animation: fadeInCool 0.2s;
  overflow: hidden;
}
@keyframes fadeInCool { from { opacity: 0; } to { opacity: 1; } }
.firemanPickerStarsBg {
  position: absolute; left: 0; top: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none;
}
.firemanPickerCool {
  background: rgba(30,30,60,0.92);
  border-radius: 22px;
  box-shadow: 0 8px 32px #00e5ff99, 0 0 0 6px #311b9255;
  padding: 36px 38px 30px 38px;
  min-width: 340px;
  max-width: 92vw;
  animation: popInCool 0.25s;
  position: relative;
  border: 3px solid #00e5ff;
  backdrop-filter: blur(6px);
}
@keyframes popInCool { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.firemanPickerHeaderCool {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 22px; font-weight: 700; margin-bottom: 18px;
  color: #00e5ff; text-shadow: 0 2px 12px #00e5ff99;
}
.firemanPickerTitleCool {
  font-size: 22px; font-weight: 700; letter-spacing: 1px;
  color: #00e5ff; text-shadow: 0 2px 12px #00e5ff99;
}
.firemanPickerCloseCool {
  background: none; border: none; font-size: 32px; cursor: pointer; color: #00e5ff;
  transition: color 0.2s, transform 0.2s;
  border-radius: 50%; width: 38px; height: 38px; line-height: 38px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 8px #00e5ff99;
}
.firemanPickerCloseCool:hover { color: #fff176; background: #00e5ff22; transform: scale(1.15) rotate(10deg); }
.firemanListCool {
  display: flex; gap: 36px; justify-content: center;
}
.firemanItemCool {
  text-align: center; cursor: pointer; transition: transform 0.18s, box-shadow 0.18s, border 0.18s;
  border-radius: 16px; padding: 16px 12px 12px 12px; position: relative;
  background: #21234a;
  box-shadow: 0 2px 18px #00e5ff55;
  border: 2.5px solid #21234a;
  outline: none;
}
.firemanItemCool:focus {
  border: 2.5px solid #fff176;
}
.firemanItemCool:hover {
  transform: scale(1.12) rotate(-2deg);
  box-shadow: 0 6px 32px #00e5ff, 0 0 0 8px #fff17644;
  border: 2.5px solid #fff176;
}
.firemanItemSelectedCool {
  border: 3.5px solid #fff176;
  box-shadow: 0 0 0 8px #00e5ff55, 0 8px 32px #fff176;
  animation: bounceCool 0.4s;
}
@keyframes bounceCool {
  0% { transform: scale(1.05); }
  30% { transform: scale(1.18) rotate(-3deg); }
  60% { transform: scale(0.95) rotate(2deg); }
  100% { transform: scale(1) rotate(0); }
}
.firemanAvatarWrapCool {
  position: relative; display: flex; justify-content: center; align-items: center;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 12px #00e5ff99);
}
.firemanCheckMarkCool {
  position: absolute; right: -10px; top: -10px; background: #fff176; color: #222;
  border-radius: 50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: bold; box-shadow: 0 2px 8px #fff176;
  border: 2px solid #fff;
}
.firemanNameCool {
  font-size: 18px; font-weight: 600; margin-top: 4px; color: #fff176;
  letter-spacing: 1px; text-shadow: 0 2px 8px #00e5ff99;
}
.firemanDescCool {
  font-size: 14px; color: #00e5ff; margin-top: 2px; font-style: italic;
  letter-spacing: 0.5px; text-shadow: 0 1px 8px #fff17699;
}
.firemanPickerSwitchBtn {
  background: linear-gradient(135deg,#fffbe6 0%,#ffe0b2 100%);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  margin-right: 2px;
  box-shadow: 0 2px 8px #0002;
  transition: background 0.18s, transform 0.18s;
  display: flex; align-items: center; justify-content: center;
}
.firemanPickerSwitchBtn:hover {
  background: linear-gradient(135deg,#00e5ff 0%,#fff176 100%);
  color: #fff;
  transform: scale(1.12) rotate(-8deg);
}

.ownMessage .messageContent {
    background: #95EC69;
    color: #000;
    border-top-right-radius: 0;
}
.otherMessage .messageContent {
    background: #fff;
    color: #000;
    border-top-left-radius: 0;
}
.ownMessage .messageContent.image,
.otherMessage .messageContent.image,
.ownMessage .messageContent.video,
.otherMessage .messageContent.video {
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.header {
  height: 56px;
  background: #2d2d2d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: none;
  box-shadow: none;
}

.title {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  margin-right: 16px;
}

.sparkWrap {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.sparkIcon {
  width: 28px;
  height: 28px;
  margin: 0 6px 0 0;
  vertical-align: middle;
}

.daysText {
  color: #ffb300;
  font-size: 24px;
  font-weight: bold;
  margin-left: 2px;
}

.moreBtn {
  color: #333;
  font-size: 32px;
  margin-left: 16px;
  opacity: 0.3;
  cursor: pointer;
  user-select: none;
}

